<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
// Set some global property
$document = &JFactory::getDocument();
$document->addStyleDeclaration('.icon-48-ajaxwhois {background-image: url(../media/com_ajaxwhois/images/ajaxwhois-48x48.png);}
								.icon-48-extensions {background-image: url(../media/com_ajaxwhois/images/extensions-48x48.png);}
								.icon-48-extension-add {background-image: url(../media/com_ajaxwhois/images/extension-add-48x48.png);}
								.icon-48-links {background-image: url(../media/com_ajaxwhois/images/links-48x48.png);}
								.icon-48-link-add {background-image: url(../media/com_ajaxwhois/images/link-add-48x48.png);}
								.icon-48-settings {background-image: url(../media/com_ajaxwhois/images/settings-48x48.png);}
								.icon-48-config-add {background-image: url(../media/com_ajaxwhois/images/config-add-48x48.png);}
								.icon-48-configs {background-image: url(../media/com_ajaxwhois/images/configs-48x48.png);}
								.icon-48-domains {background-image: url(../media/com_ajaxwhois/images/domains-48x48.png);}
								.icon-48-invoices {background-image: url(../media/com_ajaxwhois/images/invoices-48x48.png);}');
// import joomla controller library
jimport('joomla.application.component.controller');
// Get an instance of the controller prefixed by AjaxWhois
$controller = JController::getInstance('AjaxWhois');
// Perform the Request task
$controller->execute(JRequest::getCmd('task'));
// Redirect if set by the controller
$controller->redirect();
